const fs = require("fs")
var writeSteam = fs.createWriteStream("demo.txt")
    writeSteam.setDefaultEncoding("utf8")
    writeSteam.write("测试数据")
writeSteam.end("写入完成")
